//*****************************************************************************
//
// ABEC3 Direct Sound
// Project: 45 Tower CU
//
//*****************************************************************************


// Direct Sound example using measured impedance, transfer and directivity data.
// Structure is loudspeaker with for 120mm speakers and horn vertical aligned.


// File with global dimensions

File="Dimensions.txt"


// Position of tweeter

Nodes "Tweeter"
  1001     0     0         0

 
// Positions of woofers 

Nodes "Woofer"
  1001     0     {-WooferTop}              0
  1002     0     {-WooferTop-WooferSep}    0
  1003     0     {-WooferTop-2*WooferSep}  0
  1004     0     {-WooferTop-3*WooferSep}  0


// Radiation of orientable Pressure-Points plus far-field directivity
// and some graphical representation.
// In this example the file "Dir" contains frequency-directivity data
// from the horizontal plane. In the vertical plane the directivity is
// simulated by line of point-sources. To the rear the directivity is made cardioid.

Pressure_Box "Tweeter"
  DrvGroup=2001
  Position= 1001 RotateY=90 RefNodes="Tweeter"
  CabDim=220mm, 200mm, 200mm;
  LineLength=70mm;  LineDir=Vertical; // Vertical directivity simulated by line-source
  DataFileAlias=Dir  // Horizontal directivity measured
  CardioLevel=-20dB  // Used because measurement is only available for -90...90deg


// For the woofers the directivity is simulated by 
// the far-field radiation of a disc 2*J1(kr*dD/2)

Pressure_Box "Woofer1"
  DrvGroup=1001
  Position= 1001 RotateY=90 RefNodes="Woofer"
  CabDim=220mm, {WooferSep}, 200mm;
  DiaphShape=Disc;  dD=120mm;  CardioLevel=-10dB

Pressure_Box "Woofer2"
  DrvGroup=1002
  Position= 1002 RotateY=90 RefNodes="Woofer"
  CabDim=220mm, {WooferSep}, 200mm;
  DiaphShape=Disc;  dD=120mm;  CardioLevel=-10dB

Pressure_Box "Woofer3"
  DrvGroup=1003
  Position= 1003 RotateY=90 RefNodes="Woofer"
  CabDim=220mm, {WooferSep}, 200mm;
  DiaphShape=Disc;  dD=120mm;  CardioLevel=-10dB

Pressure_Box "Woofer4"
  DrvGroup=1004
  Position= 1004 RotateY=90 RefNodes="Woofer"
  CabDim=220mm, {WooferSep}, 200mm;
  DiaphShape=Disc;  dD=120mm;  CardioLevel=-10dB


